// export const ACC_REG=/^[a-zA-Z][a-zA-Z0-9_]{2,5}$/ //字母开头，允许3-6字节，允许字母数字下划线
export const PHONE_REG = /^1[0-9]{10}$/;//校验电话号码
export const PERID_REG = /^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/;//身份证号
export const NUM_REG = /^[0-9]*$/;//纯数字
export const NUM4_REG = /^\d{4}$/;//4位的数字：
export const NUM0_50_REG = /^(?:[0-2][0-9]?|30)$/;//0-50数字
export const FLOAT_REG = /^[0-9]+(.[0-9]{1,2})?$/;//非负浮点数
export const QQEMAIL_ERG = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;//qq邮箱
export const BANKNUM_ERG = /^([1-9]{1})(\d{15}|\d{16}|\d{18})$/;//银行卡号
